<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>registor</title>
  <script src="../../vue.js"></script>
</head>
<body>
  <div id="root">
    <my-component></my-component>
    <my-header></my-header>
    <my-header></my-header>
  </div>
  <script type="module">
    import MyHeader from './my-header.js'

    Vue.config.productionTip = false

    Vue.component('my-component', {
      template: `
        <h1>hello</h1>
      `
    })

    var vm = new Vue({
      el: '#root',
      data: {
        header: MyHeader
      },
      components: {
        MyHeader
      }
    })
  </script>
</body>
</html>